package com.turing.system.mapper;

import com.turing.system.entity.CustomerWithdrawals;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
* @author 28123
* @description 针对表【customer_withdrawals(客户流水)】的数据库操作Mapper
* @createDate 2023-05-09 13:26:41
* @Entity com.turing.system.entity.CustomerWithdrawals
*/
public interface CustomerWithdrawalsMapper extends BaseMapper<CustomerWithdrawals> {

    List<Map> cgCoinChargeList(String cusNickname);

    List<Map> selectAll();


    Double selectSumByValue(@Param("userId") String userId);

    List<String> selectIds(String cusNickname);

    List<Map> cwList(@Param("state") Integer state, @Param("type") Integer type, @Param("infoType") Integer infoType, @Param("username") String username);

    List<Map> cwListForPc(@Param("sourceId") String sourceId, @Param("targetId") String targetId, @Param("cwInfo") String cwInfo);
}




